#ifndef ELEMENTSELECTORLIST_H_
#define ELEMENTSELECTORLIST_H_

#include <QListWidget>
#include <view/LayoutManager.h>
#include <model/TileDescription.h>

class DimensionManager;
class LayoutManager;

class ElementSelectorList : public QListWidget
{
	Q_OBJECT

public:
	ElementSelectorList(QWidget * parent = 0);
	virtual ~ElementSelectorList();

	void initialize();

private:
	LayoutManager manager;

	void addTile(const board::TileData & data);
	void startDrag(Qt::DropActions supportedActions);
};

#endif /* ELEMENTSELECTORLIST_H_ */
